<?php

require_once("symbolobject.php");

$G_QUOTE = new SymbolObject('quote');
$G_IQUOTE = new SymbolObject('i-quote');
$G_WS = array(" ", "\n", "\t", "\r");
$G_SPECIAL = array("(", ")", "`", "'", ",", "@");
$G_SYNTAX = array_merge($G_WS, $G_SPECIAL);

function isInSPECIAL($s) {
    global $G_SPECIAL;
    return in_array($s, $G_SPECIAL);
}

function isInWS($s) {
    global $G_WS;
    return in_array($s, $G_WS);
}

function isInSYNTAX($s) {
    global $G_SYNTAX;
    return in_array($s, $G_SYNTAX);
}